package cn.getech.data.development.vo;

import cn.getech.data.development.entity.TableFieldInfo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Set;


@Data
public class MaskTableInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;


    private Integer id;

    /**
     * 数据库名称
     */
    private String dbName;
    /**
     * 表名称
     */
    private String tableName;

    /**
     * 表别名
     */
    private String tableAlias;


    private String desc;


    private Integer createPer;


    private String createPerName;

    /**
     * 创建时间
     */
    private Date createTime;


    /**
     * 存储引擎 1 hive  2 kudu
     */
    private Integer storeEngine;

    private String projectName;



    /**
     * 有效截止日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(exist = false)
    private Date effectiveDeadline;


}
